package com.mspbots.sync.callback.services;

import com.mspbots.sync.callback.model.CallbackMessage;
import reactor.core.publisher.Mono;

/**
 * com.mspbots.sync.callback.services.BaseNoticeService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/10/11
 */
public interface NoticeService {

    /**
     * Sender notice entity string
     *
     * @param tenant          notice tenant by id
     * @param callbackMessage notice entity str
     * @return void mono  time out
     */
    Mono<Void> sender(Integer tenant, CallbackMessage callbackMessage);

}
